package com.briup.service;

import com.briup.DTO.AddOrUpdateFenceHouseDTO;
import com.briup.exception.SystemException;
import com.briup.pojo.FenceHouse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.result.PageTemplate;
import com.briup.result.Result;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【manager_fence_house】的数据库操作Service
* @createDate 2024-03-13 14:29:39
*/
public interface FenceHouseService extends IService<FenceHouse> {

    PageTemplate fhquery(Integer pageNum, Integer pageSize, String fhName) throws SystemException;

    Result selectById(String fhId);

    Result fenceSaveOrUpdate(AddOrUpdateFenceHouseDTO addOrUpdateFenceHouseDTO) throws SystemException;

    Result deleteById(String hid) throws SystemException;

    Result deleteByIdAll(List<String> hids) throws SystemException;
}
